1
general::
Engage in doubledealing, be duplicitous, as in The real estate agent was known for working both sides of the street, advising first the buyer and then the seller. This metaphoric term transfers opposite sides of a street to opposite sides of a negotiation.
American Heritage Idioms